using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Net;

namespace Arcadium.GameEntities.Projectiles
{
    class StandardBullet : Bullet
    {
        #region Initialization

        public static Projectile Create(World world, NetworkGamer shooter, Vector2 position, Vector2 velocity)
        {
            if (world is HostWorld)
                return new StandardBullet(world, shooter, position, velocity);
            return new RemoteProjectile(world, shooter, position, ProjectileType.StandardBullet);
        }

        private StandardBullet(World world, NetworkGamer shooter, Vector2 position, Vector2 velocity) 
            : base(world, shooter, position, velocity)
        {
            SetTexture(ProjectileType.StandardBullet);
        }

        #endregion

    }
}
